package org.csmzxy.class2333;

public class Example05 {

        public static void main(String[] args){
            //创建两个线程对象
            Thread thread1 = new YieldThread("thread1");
            Thread thread2 = new YieldThread("thread2");
            //启动两个线程
            thread1.start();
            thread2.start();
        }
    }

